package com.formiaomiao.demain.dao;

import com.formiaomiao.demain.model.DemainBean;

import java.util.List;

public interface DemainDao {
    //添加一条动态
    int InsertDemain(DemainBean bean);
    //删除一条动态
    int DeleteDemain(DemainBean bean);
    //获得动态
    List<DemainBean> SelectDemain(Integer id);
    //获取所有动态
    List<DemainBean> SelectAllDemain(Integer id);
}
